package org.cs.publics.model;
// Generated 2018-12-28 17:39:08 by Hibernate Tools 5.2.3.Final

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * 甄选师申请信息表
 */

/**
 * PickApply generated by hbm2java
 */
@Entity
@Table(name = "pick_apply", catalog = "good_fresh")
public class PickApply implements java.io.Serializable {

	private Integer pickApplyId;
	private UserInfo userInfo;
	private String pickApplyName;
	private Integer pickApplySex;
	private String pickApplyCareer;
	private String pickApplyMobile;
	private String pickApplySite;
	private String pickApplyCommunity;
	private String pickApplyReferrer;
	private Integer pickApplyIsowner;
	private Integer pickApplyIssuffer;
	private Integer pickApplyAware;
	private String pickApplyCause;
	private Integer pickApplyState;
	private Date pickApplyTime;
	private Date pickApplyDealTime;
	private String pickApplyFailCause;
	private String pickApplyDealPeople;
	private Date createTime;
	private Date updateTime;
	private String goodsHoldOne;
	private String goodsHoldTwo;

	public PickApply() {
	}

	public PickApply(UserInfo userInfo, String pickApplyName, Integer pickApplySex, String pickApplyCareer,
			String pickApplyMobile, String pickApplySite, String pickApplyCommunity, String pickApplyReferrer,
			Integer pickApplyIsowner, Integer pickApplyIssuffer, Integer pickApplyAware, String pickApplyCause,
			Integer pickApplyState, Date pickApplyTime, Date pickApplyDealTime, String pickApplyFailCause,
			String pickApplyDealPeople, Date createTime, Date updateTime, String goodsHoldOne, String goodsHoldTwo) {
		this.userInfo = userInfo;
		this.pickApplyName = pickApplyName;
		this.pickApplySex = pickApplySex;
		this.pickApplyCareer = pickApplyCareer;
		this.pickApplyMobile = pickApplyMobile;
		this.pickApplySite = pickApplySite;
		this.pickApplyCommunity = pickApplyCommunity;
		this.pickApplyReferrer = pickApplyReferrer;
		this.pickApplyIsowner = pickApplyIsowner;
		this.pickApplyIssuffer = pickApplyIssuffer;
		this.pickApplyAware = pickApplyAware;
		this.pickApplyCause = pickApplyCause;
		this.pickApplyState = pickApplyState;
		this.pickApplyTime = pickApplyTime;
		this.pickApplyDealTime = pickApplyDealTime;
		this.pickApplyFailCause = pickApplyFailCause;
		this.pickApplyDealPeople = pickApplyDealPeople;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.goodsHoldOne = goodsHoldOne;
		this.goodsHoldTwo = goodsHoldTwo;
	}

	@Id
	@GeneratedValue(strategy = IDENTITY)

	@Column(name = "PICK_APPLY_ID", unique = true, nullable = false)
	public Integer getPickApplyId() {
		return this.pickApplyId;
	}

	public void setPickApplyId(Integer pickApplyId) {
		this.pickApplyId = pickApplyId;
	}

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "USER_INFO_ID")
	public UserInfo getUserInfo() {
		return this.userInfo;
	}

	public void setUserInfo(UserInfo userInfo) {
		this.userInfo = userInfo;
	}

	@Column(name = "PICK_APPLY_NAME", length = 10)
	public String getPickApplyName() {
		return this.pickApplyName;
	}

	public void setPickApplyName(String pickApplyName) {
		this.pickApplyName = pickApplyName;
	}

	@Column(name = "PICK_APPLY_SEX")
	public Integer getPickApplySex() {
		return this.pickApplySex;
	}

	public void setPickApplySex(Integer pickApplySex) {
		this.pickApplySex = pickApplySex;
	}

	@Column(name = "PICK_APPLY_CAREER", length = 10)
	public String getPickApplyCareer() {
		return this.pickApplyCareer;
	}

	public void setPickApplyCareer(String pickApplyCareer) {
		this.pickApplyCareer = pickApplyCareer;
	}

	@Column(name = "PICK_APPLY_MOBILE", length = 20)
	public String getPickApplyMobile() {
		return this.pickApplyMobile;
	}

	public void setPickApplyMobile(String pickApplyMobile) {
		this.pickApplyMobile = pickApplyMobile;
	}

	@Column(name = "PICK_APPLY_SITE", length = 40)
	public String getPickApplySite() {
		return this.pickApplySite;
	}

	public void setPickApplySite(String pickApplySite) {
		this.pickApplySite = pickApplySite;
	}

	@Column(name = "PICK_APPLY_COMMUNITY", length = 25)
	public String getPickApplyCommunity() {
		return this.pickApplyCommunity;
	}

	public void setPickApplyCommunity(String pickApplyCommunity) {
		this.pickApplyCommunity = pickApplyCommunity;
	}

	@Column(name = "PICK_APPLY_REFERRER", length = 10)
	public String getPickApplyReferrer() {
		return this.pickApplyReferrer;
	}

	public void setPickApplyReferrer(String pickApplyReferrer) {
		this.pickApplyReferrer = pickApplyReferrer;
	}

	@Column(name = "PICK_APPLY_ISOWNER")
	public Integer getPickApplyIsowner() {
		return this.pickApplyIsowner;
	}

	public void setPickApplyIsowner(Integer pickApplyIsowner) {
		this.pickApplyIsowner = pickApplyIsowner;
	}

	@Column(name = "PICK_APPLY_ISSUFFER")
	public Integer getPickApplyIssuffer() {
		return this.pickApplyIssuffer;
	}

	public void setPickApplyIssuffer(Integer pickApplyIssuffer) {
		this.pickApplyIssuffer = pickApplyIssuffer;
	}

	@Column(name = "PICK_APPLY_AWARE")
	public Integer getPickApplyAware() {
		return this.pickApplyAware;
	}

	public void setPickApplyAware(Integer pickApplyAware) {
		this.pickApplyAware = pickApplyAware;
	}

	@Column(name = "PICK_APPLY_CAUSE", length = 100)
	public String getPickApplyCause() {
		return this.pickApplyCause;
	}

	public void setPickApplyCause(String pickApplyCause) {
		this.pickApplyCause = pickApplyCause;
	}

	@Column(name = "PICK_APPLY_STATE")
	public Integer getPickApplyState() {
		return this.pickApplyState;
	}

	public void setPickApplyState(Integer pickApplyState) {
		this.pickApplyState = pickApplyState;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "PICK_APPLY_TIME", length = 19)
	public Date getPickApplyTime() {
		return this.pickApplyTime;
	}

	public void setPickApplyTime(Date pickApplyTime) {
		this.pickApplyTime = pickApplyTime;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "PICK_APPLY_DEAL_TIME", length = 19)
	public Date getPickApplyDealTime() {
		return this.pickApplyDealTime;
	}

	public void setPickApplyDealTime(Date pickApplyDealTime) {
		this.pickApplyDealTime = pickApplyDealTime;
	}

	@Column(name = "PICK_APPLY_FAIL_CAUSE")
	public String getPickApplyFailCause() {
		return this.pickApplyFailCause;
	}

	public void setPickApplyFailCause(String pickApplyFailCause) {
		this.pickApplyFailCause = pickApplyFailCause;
	}

	@Column(name = "PICK_APPLY_DEAL_PEOPLE", length = 10)
	public String getPickApplyDealPeople() {
		return this.pickApplyDealPeople;
	}

	public void setPickApplyDealPeople(String pickApplyDealPeople) {
		this.pickApplyDealPeople = pickApplyDealPeople;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "CREATE_TIME", length = 19)
	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "UPDATE_TIME", length = 19)
	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Column(name = "GOODS_HOLD_ONE")
	public String getGoodsHoldOne() {
		return this.goodsHoldOne;
	}

	public void setGoodsHoldOne(String goodsHoldOne) {
		this.goodsHoldOne = goodsHoldOne;
	}

	@Column(name = "GOODS_HOLD_TWO")
	public String getGoodsHoldTwo() {
		return this.goodsHoldTwo;
	}

	public void setGoodsHoldTwo(String goodsHoldTwo) {
		this.goodsHoldTwo = goodsHoldTwo;
	}

}
